home *** CD-ROM | disk | FTP | other *** search
Text File | 1990-07-01 | 3.7 KB | 124 lines | [TEXT/NISI] |
- Symbols:
- Upon initilization:
- @1 : Current month (1-12)
- @2 : Current Day (1-31)
- @3 : DayOfWeek ( 1-7, 1 = Sunday, 2 = Monday, ...)
- Date : Date ; e.g '7/12', '12/31'
- Time : 24 hr time ; e.g. '4:01', '22:14'
-
-
- When a macro is called, @1-@3 are automatically defined as arguments.
-
- No_Files : YES is the file_cnt = 0; NO if file entries are in memory.
-
- Remote : YES if Launch_RRH file is found on the same directory.
-
- Used during ADD/FOLDER
- Desc_Prompt
- Default_Level
- All_Files_Sect
- New_Files_Sect
-
- Guards:
- Execute command if guard symbol = "" "YES" "TRUE" "NO-" "FALSE-"
-
-
- Commands:
-
- * Symbol defining commands
- DEFINE "<symbol>" "<definition>" "<guard>"
- DEFINE/NOMAP "<symbol>" "<definition>" "<guard>"
- SHOWSYMBOL "<symbol>"
- CONCATENATE "< object symbol>" "< source symbol >" " source symbol >"
- EQUAL "<flag>" "<symbol1>" " <symbol2>"
- EQUAL/NOT "<flag>" "<symbol1>" " <symbol2>"
- AND "<new flag>" "<flag1>" "< flag1 >"
- AND/NOT "<new flag>" "<flag1>" "< flag1 >"
-
- * Control commands
- SKIP "<guard>" ; Skip 1 line
- SKIP "<Label>" "<guard>" ; Skip to label
- SKIP "#<number>" "<guard>" ; Skip <number> lines.
- SKIP "<Label>" "<guard>" ; Conditionally skip to label.
- SKIP "#<number>" "<guard>" ; Conditionally skip <number> lines.
- END "<guard>"
- LAUNCH "<Application name>" "<guard>"
- CHAIN "<file name>" "<Label>" "<guard>"
- * The following add entries to list of file references.
- LOAD "<file sect>"
- ADD "<file section name>"
- ADD/FOLDER "<HFS Folder Name>" "Guard"
- READTEXT "<Text file as written by SAVETEXT/LONG>"
-
- * These commands can remove entries.
- CLEAR
- INTERSECT "<sect>"
- SUBTRACT "< file section name >"
- PURGE "<Guard>"
- PURGE/DELETE "Guard>" ; Purges deleted entries and deletes actual file.
-
- * These reorder entries.
- SORT/DATE, SORT/TITLE, SORT/PATH, SORT/UPLDR, SORT/SIZE, SORT/DLDATE, SORT/DLCNT
- INVERT
-
- * These commands all write to disk.
- SAVE "<file sect>" "<guard>
- SAVE/DELETE "<file sect>" "<guard> ; Save deleted entries.
- ADDTO "<file section name>"
- ADDTO/DELETE "<file section name>"
- SAVETEXT[/<option>] "<Text file name>" "<guard>"
- <option> :== LONG | DESC | PATH | FORMAT
-
- * Modify pathnames
- CLEARPATH "<guard>"
- SETPATH "<new path>" "<guard>"
- CHANGEPATH "<new path>" "<guard>"
- * Both MOVE and CHECKPATH require the symbol BBS
- * to be defined.
- CHECKPATH "<Volume or Folder Name>" "<guard>"
- CHECKPATH/DELETE "<Volume or Folder Name>" "<guard>"
- MOVE "<Volume or Folder Name>" "<guard>"
- MOVE/UNDER "<Volume or Folder Name>" "<guard>"
- MOVE/DELETE "<Volume or Folder Name>" "<guard>"
- *
- CHECKTYPE "<guard>" ; Modify file type field.
- * Change/set 'delete' flag.
- DELETE/DUPS "<guard>"
- DELETE/AGE "<n>" "<guard>"
- DELETE/ALL "<guard>" ; Mark all entries as deleted.
- DELETE/NONE "<guard>" ; Mark all entries as NOT deleted.
- DELETE/TOGGLE "<guard>" ; Toggle delete flag on each entry.
- * Macro commands
- DEFINEMACRO "<MacroName>"
- ENDMACRO
- * Other
- DELETEFILE "<pathname of file to be deleted>" "<guard>"
- RENAMEFILE "<pathname of file to be renamed>" "new file name" "guard"
- FORMAT "<Field list>"
-
- * Field names (may be shortened) :
- TAB Tab Char,
- CR Carriage Return
- COL Column number; used as COL:30
- SECT Section Name
- DELE Deleted Flag
- TITLE Title
- SIZE Size in Bytes
- SIZEK Size rounded up to kilobytes.
- DESCA All description lines.
- DESC A description line. Multiple uses refer to sucessive lines.
- TYPE File Type (TEXT, Mac Appl., Mac Doc., Other)
- UPLDR Uploader Name
- VERS Version
- DATE Date of Upload
- DLDATE Last Date DLed
- CLRNC Clearance/Privilege Level
- DLCNT DL Count
- PATH Path
- NAME Actual file name. (Path with folder names stripped)
- END END of Format
-
-
-
-
-